package com.lyl.controller;

import com.lyl.model.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.Authorization;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lylbell
 * @date 2021-07-02 18:24
 */
@RestController
@Api(tags = "测试")
public class TestController {


    @GetMapping("/test/finance")
    @ApiOperation(value="测试财务系统",authorizations = @Authorization("token"))
    public Result<String> testFinance() {
        return Result.ok("财务系统搭建成功");
    }
}
